package com.lelefly.base.po;
// default package

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * LeleflyHistoryInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="lelefly_history_info"
    ,catalog="lelefly"
)

public class LeleflyHistoryInfo  implements java.io.Serializable {


    // Fields    

     private String historyId;
     private String planeId;
     private Date flyBeginTime;
     private Date flyEndTime;
     private String flyArea;
     private String flyLength;
     private String flyLatitude;
     private String flyLongitude;


    // Constructors

    /** default constructor */
    public LeleflyHistoryInfo() {
    }

	/** minimal constructor */
    public LeleflyHistoryInfo(String historyId) {
        this.historyId = historyId;
    }
    
    /** full constructor */
    public LeleflyHistoryInfo(String historyId, 
    		String planeId, 
    		Date flyBeginTime, 
    		Date flyEndTime, 
    		String flyArea, 
    		String flyLength,
    		String flyLatitude,
    		String flyLongitude) {
        this.historyId = historyId;
        this.planeId = planeId;
        this.flyBeginTime = flyBeginTime;
        this.flyEndTime = flyEndTime;
        this.flyArea = flyArea;
        this.flyLength = flyLength;
        this.flyLatitude = flyLatitude;
        this.flyLongitude = flyLongitude;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="history_id", unique=true, nullable=false, length=100)

    public String getHistoryId() {
        return this.historyId;
    }
    
    public void setHistoryId(String historyId) {
        this.historyId = historyId;
    }
    
    @Column(name="plane_id", length=100)

    public String getPlaneId() {
        return this.planeId;
    }
    
    public void setPlaneId(String planeId) {
        this.planeId = planeId;
    }
    
    @Column(name="fly_begin_time", length=20)

    public Date getFlyBeginTime() {
        return this.flyBeginTime;
    }
    
    public void setFlyBeginTime(Date flyBeginTime) {
        this.flyBeginTime = flyBeginTime;
    }
    
    @Column(name="fly_end_time", length=20)

    public Date getFlyEndTime() {
        return this.flyEndTime;
    }
    
    public void setFlyEndTime(Date flyEndTime) {
        this.flyEndTime = flyEndTime;
    }
    
    @Column(name="fly_area", length=20)

    public String getFlyArea() {
        return this.flyArea;
    }
    
    public void setFlyArea(String flyArea) {
        this.flyArea = flyArea;
    }
    
    @Column(name="fly_length", length=20)

    public String getFlyLength() {
        return this.flyLength;
    }
    
    public void setFlyLength(String flyLength) {
        this.flyLength = flyLength;
    }
    
    @Column(name="fly_latitude", length=50)

    public String getFlyLatitude() {
        return this.flyLatitude;
    }
    
    public void setFlyLatitude(String flyLatitude) {
        this.flyLatitude = flyLatitude;
    }
    
    @Column(name="fly_longitude", length=50)

    public String getFlyLongitude() {
        return this.flyLongitude;
    }
    
    public void setFlyLongitude(String flyLongitude) {
        this.flyLongitude = flyLongitude;
    }
}